package com.fan.teamer.model.dao;

import java.util.List;

import com.fan.teamer.model.domain.Event;
import com.fan.teamer.model.domain.Team;

public interface EventDao {
	public Event getEvent(int id);

	public List<Event> getAllEvents();

	public int getSize();

	public void addEvent(Event event);

	public void updateEvent(Event event);

	public void deleteEvent(Event event);

	public boolean hasEvent(int id);

	public List<String> getColumnNames();

	public List<Event> getTeamEvents(Team team);

}
